<script type="text/javascript" src="<?php echo URL::base() . 'media/js/ckeditor/ckeditor.js' ?>"></script>
<div>
	<form method="post" action="<?php echo $action ?>">
		<ul>
			<li>
				<label for="title">Cím</label>
				<input type="text" name="title" id="title" value="<?php echo @$page->title ?>" />
                <?php if(isset($errors['title']))echo ($errors['title']) ?>
			</li>
			<li>
				<label for="content">Tartalom</label>
				<?php echo $ckeditor->editor("content", @$page->content, $config) ?>
                <?php if(isset($errors['content']))echo ($errors['content']) ?>
			</li>
			<li>
				<input type="submit" value="Mentés" />
			</li>
		</ul>
	</form>
</div>